package com.wisdytech.linkdcs.equipLifeCycle.maintain.service;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.equipLifeCycle.maintain.model.RepairPlan;
import com.wisdytech.linkdcs.equipment.model.Equipment;
import com.wisdytech.linkdcs.partLife.model.Part;
import com.wisdytech.linkdcs.system.model.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhanghailin
 * @since 2018-07-17
 */
public interface IRepairPlanService {

    PageInfo<RepairPlan> findRepairPlanByPage(String equipCode,String equipName,String maintenanceProject,String dutyDepartment,String maintenanceStartDate, String maintenanceEndDate, Filter filter);

    void saveOrUpdateRepairPlan(RepairPlan repairPlan, SysUser sysUser);

    PageInfo<Part> findPartByPage(String search,Filter filter);

    RepairPlan findRepairPlanById(String pkId);

    void logicDeleteRepairPlanByPkIds(String pkIds);

    Equipment fingEquipInfoByEquipCode(String equipCode);

}
